<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		.id1{
			width:100%;
			height:30px;
			background-color:red;
		}
		.id2{
			width:100%;
			height:30px;
			background-color:green;
		}
	
	</style>
</head>
<body>
	<div class="id1"></div>
	<div>

	<div class="id2"></div>
	</div>
</body>
</html>